import { LinValidator, Rule } from "../code/lin-validator-v2"

export class AddCustomizeValidator extends LinValidator {
    constructor() {
        super()
        this.phone = [new Rule('isMobilePhone', '请输入正确手机号')]
        this.community = [new Rule('isLength', '小区名大于10', { max: 10 })]
        this.toUserId = []
    }
}